Skip to contentSkip to conversation

applying a rule

DISCUSSION Doug Yeager 3 participants 3 messages Feb 12, 2003

lore
Share & tools
lore
#0 lore raw

I have ppp0 (external interface)

I also have ppp1 through ppp200 (vpn connections)

How can I apply a rule to all the vpn connections but omit ppp0

Is it some combination of ppp+ and ! ppp0

Or is it two separate rules. And which rule would go first if they are separate?

Thx,
doug

#1 lore raw

silly question - Can you rename your ppp0 interface to something else? That is what I did for a similar problem.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Doug Yeager
Sent: Wednesday, February 12, 2003 3:00 PM
To: [email protected]
Subject: applying a rule

I have ppp0 (external interface)

I also have ppp1 through ppp200 (vpn connections)

How can I apply a rule to all the vpn connections but omit ppp0

Is it some combination of ppp+ and ! ppp0

Or is it two separate rules. And which rule would go first if they are separate?

Thx,
doug

#2 lore raw

On Wed, 12 Feb 2003 15:15:39 -0500,
"Aldo S. Lagana" <[email protected]> top posted in message <[email protected]>:

Quoted 10 lines

From: Doug Yeager
Sent: Wednesday, February 12, 2003 3:00 PM

Quoted 7 lines

I have ppp0 (external interface)

I also have ppp1 through ppp200 (vpn connections)

How can I apply a rule to all the vpn connections but omit ppp0

..for i in seq 1 1 200 ; do $write-rule-for ppp$i ; done # ;-)

Quoted 10 lines
Quoted 7 lines

Is it some combination of ppp+ and ! ppp0

Or is it two separate rules. And which rule would go first if they are separate?

Thx,
doug

silly question - Can you rename your ppp0 interface to something else? That is what I did for a similar problem.

..word has it there are only silly _answers_.
Show him how _you_ did it. ;-)

Signature · 4 lines
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.